[INFO] fetching crate cql_bindgen 0.2.0...
[INFO] checking cql_bindgen-0.2.0 against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] extracting crate cql_bindgen 0.2.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate cql_bindgen 0.2.0 on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cql_bindgen 0.2.0
[INFO] finished tweaking crates.io crate cql_bindgen 0.2.0
[INFO] tweaked toml for crates.io crate cql_bindgen 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 48e9907e6d9e619625c44d225c2a743ecfe9d966b69e01ba1cc495d7cef4e68a
[INFO] running `Command { std: "docker" "start" "-a" "48e9907e6d9e619625c44d225c2a743ecfe9d966b69e01ba1cc495d7cef4e68a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "48e9907e6d9e619625c44d225c2a743ecfe9d966b69e01ba1cc495d7cef4e68a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48e9907e6d9e619625c44d225c2a743ecfe9d966b69e01ba1cc495d7cef4e68a", kill_on_drop: false }`
[INFO] [stdout] 48e9907e6d9e619625c44d225c2a743ecfe9d966b69e01ba1cc495d7cef4e68a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3228dac6cabe030d447cbeb95aaf162bd7a21a2085c95f7bf54a435adebb8644
[INFO] running `Command { std: "docker" "start" "-a" "3228dac6cabe030d447cbeb95aaf162bd7a21a2085c95f7bf54a435adebb8644", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.144
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling log v0.4.18
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]    Compiling cql_bindgen v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking env_logger v0.3.5
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]  --> src/ffi_util.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 |     CString::new(query).unwrap().as_ptr() as *const i8
[INFO] [stdout]   |     ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]   |     |
[INFO] [stdout]   |     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]   |
[INFO] [stdout]   = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]   = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]   = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]  --> src/ffi_util.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 |     CString::new(query).unwrap().as_ptr() as *const i8
[INFO] [stdout]   |     ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]   |     |
[INFO] [stdout]   |     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]   |
[INFO] [stdout]   = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]   = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]   = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/examples/async.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut cluster = create_cluster();
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/examples/tuple.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut session = &mut*cass_session_new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bln`, `flt`, `dbl`, `i32`, and `i64` are never read
[INFO] [stdout]   --> src/examples/paging.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Basic {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 18 |     bln: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     flt: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 20 |     dbl: f64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     i32: i32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 22 |     i64: i64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Basic` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/examples/async.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut cluster = create_cluster();
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bln`, `flt`, `dbl`, `i32`, and `i64` are never read
[INFO] [stdout]   --> src/examples/paging.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Basic {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 18 |     bln: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     flt: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 20 |     dbl: f64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     i32: i32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 22 |     i64: i64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Basic` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/examples/basic.rs:24:73
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 6);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/examples/ssl.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut file = try!(File::open(file));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/examples/ssl.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let cert_size = try!(file.metadata()).len() as usize;
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/examples/ssl.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let byte_len = try!(file.read_to_end(&mut cert));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/examples/tuple.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut session = &mut*cass_session_new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/examples/ssl.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut file = try!(File::open(file));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/examples/ssl.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let cert_size = try!(file.metadata()).len() as usize;
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/examples/ssl.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let byte_len = try!(file.read_to_end(&mut cert));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:112:84
[INFO] [stdout]     |
[INFO] [stdout] 112 |         cass_statement_bind_string_by_name(statement, CString::new("key").unwrap().as_ptr(), key.as_ptr());
[INFO] [stdout]     |                                                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                       |
[INFO] [stdout]     |                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:127:99
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 cass_value_get_bool(cass_row_get_column_by_name(row, CString::new("BLN").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                      ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                      |
[INFO] [stdout]     |                                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:129:101
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 cass_value_get_double(cass_row_get_column_by_name(row, CString::new("dbl").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                        ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                        |
[INFO] [stdout]     |                                                                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:131:100
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 cass_value_get_float(cass_row_get_column_by_name(row, CString::new("flt").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                       |
[INFO] [stdout]     |                                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:133:104
[INFO] [stdout]     |
[INFO] [stdout] 133 |                 cass_value_get_int32(cass_row_get_column_by_name(row, CString::new("\"i32\"").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                       -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                       |
[INFO] [stdout]     |                                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:135:100
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 cass_value_get_int64(cass_row_get_column_by_name(row, CString::new("i64").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                       |
[INFO] [stdout]     |                                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/examples/basic.rs:24:73
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 6);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:112:84
[INFO] [stdout]     |
[INFO] [stdout] 112 |         cass_statement_bind_string_by_name(statement, CString::new("key").unwrap().as_ptr(), key.as_ptr());
[INFO] [stdout]     |                                                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                       |
[INFO] [stdout]     |                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:127:99
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 cass_value_get_bool(cass_row_get_column_by_name(row, CString::new("BLN").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                      ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                      |
[INFO] [stdout]     |                                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:129:101
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 cass_value_get_double(cass_row_get_column_by_name(row, CString::new("dbl").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                        ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                        |
[INFO] [stdout]     |                                                                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:131:100
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 cass_value_get_float(cass_row_get_column_by_name(row, CString::new("flt").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                       |
[INFO] [stdout]     |                                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:133:104
[INFO] [stdout]     |
[INFO] [stdout] 133 |                 cass_value_get_int32(cass_row_get_column_by_name(row, CString::new("\"i32\"").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                       -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                       |
[INFO] [stdout]     |                                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/named_parameters.rs:135:100
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 cass_value_get_int64(cass_row_get_column_by_name(row, CString::new("i64").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                       |
[INFO] [stdout]     |                                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.72s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "3228dac6cabe030d447cbeb95aaf162bd7a21a2085c95f7bf54a435adebb8644", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3228dac6cabe030d447cbeb95aaf162bd7a21a2085c95f7bf54a435adebb8644", kill_on_drop: false }`
[INFO] [stdout] 3228dac6cabe030d447cbeb95aaf162bd7a21a2085c95f7bf54a435adebb8644
